3.1921 \(\int \frac{x^2}{\sqrt{a+\frac{b}{x^2}}} \, dx\)

Optimal. Leaf size=42 \[ \frac{x^3 \sqrt{a+\frac{b}{x^2}}}{3 a}-\frac{2 b x \sqrt{a+\frac{b}{x^2}}}{3 a^2} \]

[Out]

(-2*b*Sqrt[a + b/x^2]*x)/(3*a^2) + (Sqrt[a + b/x^2]*x^3)/(3*a)

_______________________________________________________________________________________

Rubi [A]  time = 0.0442501, antiderivative size = 42, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.133 \[ \frac{x^3 \sqrt{a+\frac{b}{x^2}}}{3 a}-\frac{2 b x \sqrt{a+\frac{b}{x^2}}}{3 a^2} \]

Antiderivative was successfully verified.

[In]  Int[x^2/Sqrt[a + b/x^2],x]

[Out]

(-2*b*Sqrt[a + b/x^2]*x)/(3*a^2) + (Sqrt[a + b/x^2]*x^3)/(3*a)

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 3.56717, size = 36, normalized size = 0.86 \[ \frac{x^{3} \sqrt{a + \frac{b}{x^{2}}}}{3 a} - \frac{2 b x \sqrt{a + \frac{b}{x^{2}}}}{3 a^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate(x**2/(a+b/x**2)**(1/2),x)

[Out]

x**3*sqrt(a + b/x**2)/(3*a) - 2*b*x*sqrt(a + b/x**2)/(3*a**2)

_______________________________________________________________________________________

Mathematica [A]  time = 0.0314566, size = 28, normalized size = 0.67 \[ \frac{x \sqrt{a+\frac{b}{x^2}} \left (a x^2-2 b\right )}{3 a^2} \]

Antiderivative was successfully verified.

[In]  Integrate[x^2/Sqrt[a + b/x^2],x]

[Out]

(Sqrt[a + b/x^2]*x*(-2*b + a*x^2))/(3*a^2)

_______________________________________________________________________________________

Maple [A]  time = 0.008, size = 38, normalized size = 0.9 \[{\frac{ \left ( a{x}^{2}+b \right ) \left ( a{x}^{2}-2\,b \right ) }{3\,x{a}^{2}}{\frac{1}{\sqrt{{\frac{a{x}^{2}+b}{{x}^{2}}}}}}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int(x^2/(a+b/x^2)^(1/2),x)

[Out]

1/3*(a*x^2+b)*(a*x^2-2*b)/a^2/x/((a*x^2+b)/x^2)^(1/2)

_______________________________________________________________________________________

Maxima [A]  time = 1.42913, size = 43, normalized size = 1.02 \[ \frac{{\left (a + \frac{b}{x^{2}}\right )}^{\frac{3}{2}} x^{3} - 3 \, \sqrt{a + \frac{b}{x^{2}}} b x}{3 \, a^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x^2/sqrt(a + b/x^2),x, algorithm="maxima")

[Out]

1/3*((a + b/x^2)^(3/2)*x^3 - 3*sqrt(a + b/x^2)*b*x)/a^2

_______________________________________________________________________________________

Fricas [A]  time = 0.233731, size = 38, normalized size = 0.9 \[ \frac{{\left (a x^{3} - 2 \, b x\right )} \sqrt{\frac{a x^{2} + b}{x^{2}}}}{3 \, a^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x^2/sqrt(a + b/x^2),x, algorithm="fricas")

[Out]

1/3*(a*x^3 - 2*b*x)*sqrt((a*x^2 + b)/x^2)/a^2

_______________________________________________________________________________________

Sympy [A]  time = 2.59534, size = 46, normalized size = 1.1 \[ \frac{\sqrt{b} x^{2} \sqrt{\frac{a x^{2}}{b} + 1}}{3 a} - \frac{2 b^{\frac{3}{2}} \sqrt{\frac{a x^{2}}{b} + 1}}{3 a^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x**2/(a+b/x**2)**(1/2),x)

[Out]

sqrt(b)*x**2*sqrt(a*x**2/b + 1)/(3*a) - 2*b**(3/2)*sqrt(a*x**2/b + 1)/(3*a**2)

_______________________________________________________________________________________

GIAC/XCAS [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{x^{2}}{\sqrt{a + \frac{b}{x^{2}}}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x^2/sqrt(a + b/x^2),x, algorithm="giac")

[Out]

integrate(x^2/sqrt(a + b/x^2), x)